import {Pipe, PipeTransform} from '@angular/core';

@Pipe({name: 'objectValues'})
export class ObjectValues implements PipeTransform {
  transform(data) {
    return Object.values(data);
  }
}

@Pipe({name: 'objectKeys'})
export class ObjectKeys implements PipeTransform {
  transform(data) {
    return Object.keys(data);
  }
}
